﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCanFD
{
    /// <summary>
    /// 后台canfd总线数据结构体
    /// </summary>
    public struct CanFdData
    {
        /// <summary>
        /// 通道索引
        /// </summary>
        public int CH { get; set; }

        /// <summary>
        /// 数据ID
        /// </summary>
        public uint ID { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public byte[] Data { get; set; }

        /// <summary>
        /// 时间戳
        /// </summary>
        public UInt64 TimeStamp { get; set; }
    }
}